home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / d_d / caltech / inbound / mcm / setup.mcm < prev   
Encoding:
Text File  |  1993-06-22  |  619 b   |  30 lines

  1. #! /bin/sh
  2.  
  3. cd ${HOME}/mcm
  4.  
  5. if [ -d $1 ]; then
  6.     echo "  directory ${HOME}/mcm/$1 already exists"
  7.     echo "  To run setup_mcm, delete it and try again..."
  8.     exit
  9. fi
  10. if [ -f $1 ]; then
  11.     echo "  ${HOME}/mcm/$1 is a file."
  12.     echo "  To run setup_mcm, delete it and try again..."
  13.     exit
  14. fi
  15.  
  16. mkdir $1
  17.  
  18. cd $1
  19. ln -s ../mcm-* .
  20. \rm -f mcm-welcome
  21. \rm -f mcm-hello
  22. \rm -f mcm-accts
  23. \rm -r mcm-log
  24. cp ../mcm-hello ../mcm-accts .
  25.  
  26. echo "  Setup done...  You may now create the files"
  27. echo "  ${HOME}/mcm/$1/mcm-mail and"
  28. echo "  ${HOME}/mcm/$1/mcm-master-mail"
  29. echo "  with lists of E-Mail addresses to recieve copied of the log files"
  30.